package com.want.repository;

import com.want.entity.BlogPoll;
import org.springframework.data.repository.reactive.ReactiveCrudRepository;
import org.springframework.stereotype.Repository;
import reactor.core.publisher.Mono;

/**
 * @author WangZhiJian
 * @since 2021/11/28 0028
 */
@Repository
public interface BlogPollRepository extends ReactiveCrudRepository<BlogPoll,Integer> {
    Mono<BlogPoll> findByUserIdAndBlogId(Integer userId, Integer blogId);
}
